package com.info.zhiduoduo.repository.entity.system;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * @author tianyonghong
 * @create 2023/10/18
 */
@Data
@Accessors(chain = true)
@TableName("zdd_account_link_label")
public class AccountLinkLabel extends Model<AccountLinkLabel> {
    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("账号类型 1:集团关联企业 2:创客 3:企业")
    private Integer type;

    @ApiModelProperty("标签名称")
    private String label;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("修改时间")
    private Date updateTime;

    @Override
    protected Serializable pkVal() {
        return this.id;
    }
}
